#ifndef SINGLETON_H
#define SINGLETON_H

template<class T>
class Singleton {
    public:
        static T &create() {
            static T _self;

            return _self;
        }

    private:
        Singleton() {}
        ~Singleton() {}
};

#endif // SINGLETON_H
